﻿using System.Collections.Generic;
using System.Xml.Serialization;

namespace DongRuanMachineWebService.XmlMapper
{
    public class HIS_ATM_04150Body : CommonBody
    {
        //预约日期
        [XmlElement("appointDate")]
        public string AppointDate { get; set; }
        //号源编号
        [XmlElement("sourceNumber")]
        public string SourceNumber { get; set; }
        //交易流水号
        [XmlElement("transFlow")]
        public string TransFlow { get; set; }
        //交易时间
        [XmlElement("transactionTime")]
        public string TransactionTime { get; set; }
        //当前就诊号
        [XmlElement("currentNumber")]
        public string CurrentNumber { get; set; }
        //看诊序号
        [XmlElement("queueNumber")]
        public string QueueNumber { get; set; }
        //就诊时间段
        [XmlElement("clinicRange")]
        public string ClinicRange { get; set; }
        //患者编号
        [XmlElement("patientId")]
        public string PatientId { get; set; }
        //患者姓名
        [XmlElement("name")]
        public string Name { get; set; }
        //性别
        [XmlElement("sex")]
        public string Sex { get; set; }
        //科室名称
        [XmlElement("deptName")]
        public string DeptName { get; set; }
        //诊室地址
        [XmlElement("address")]
        public string Address { get; set; }
        //医生姓名
        [XmlElement("doctorName")]
        public string DoctorName { get; set; }
        //医生职务
        [XmlElement("duty")]
        public string Duty { get; set; }
        //缴费清单
        [XmlArrayAttribute("orders"), XmlArrayItem("order")]
        public List<HIS_ATM_04150Attr> Orders { get; set; }
    }

    public class HIS_ATM_04150Attr
    {
        //预约时间段id
        [XmlAttribute("name")]
        public string Name { get; set; }
        //预约时间范围
        [XmlAttribute("price")]
        public string Price { get; set; }
    }
}